package myproj1;

public class Student {
	
	    private String name;
	    private Computer computer;

	    public Student(String name, Computer computer) {
	        this.name = name;
	        this.computer = computer;
	    }

	    public void displayComputerConfig() {
	        System.out.println(name + " is using a computer with the following configuration: " + computer.toString());
	    }
	
}
